<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			  <li class="active"><a href="{:U('Shoufei/shoufeimoban')}">收费模版</a></li>
                   <li><a href="{:U('Shoufei/mb_add')}">添加模版</a></li>
		</ul>
		<form method="post" class="js-ajax-form">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						
						<th>模版名称</th>
                                                <th>收费方式</th>
						<th>收费类型</th>
                                                <th>计费精度</th>
						<th>单价</th>
						<th>打印次序</th>
						<th>计费公式</th>
						<th>计费单价方式</th>
					     
                                                <th>操作</th>
						
					</tr>
				</thead>
				<tbody>
					<foreach name="info" item="vo">
					<tr>
						
						<td>{$vo.tpname}</td>
						<td>
                                                    <if condition="$vo['sffangshi'] == 1"> 
					              周期性
					                <else /> 
					               一次性
					              </if>
                                                </td>
						<td>
                                                 <if condition="$vo['sftype'] == 1"> 
					          正常
					         <else /> 
					          押金
					         </if>
                                                </td>
						<td>
                                                 <if condition="$vo['jfjingdu'] == 1"> 
					              元
                                                       <elseif condition="$vo['jfjingdu'] == 2" />
                                                       角
					                <else /> 
					               分
					              </if>
                                                </td>
						<td>{$vo.danjia}</td>
						<td>{$vo.dycixu}</td>
						<td>{$vo.jfgongshi}</td>
                                                <td>
                                                 <if condition="$vo['jfdjfs'] == 1"> 
					         无阶梯收费
					         <else /> 
					         阶梯收费
					         </if>
                                                
                                                </td>
						
                                                <td><a class="js-ajax-delete" href="{:U('Shoufei/mb_delete',array('id'=>$vo['id']))}">删除</a></td>
						
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>